home *** CD-ROM | disk | FTP | other *** search
- Path: mudskipper.cac.psu.edu!user
- From: fcusack@tdx.org (frank.)
- Newsgroups: comp.lang.c
- Subject: Re: Calling a function by reference?!
- Date: Mon, 11 Mar 1996 10:52:36 -0400
- Organization: Soylent Green is People!!
- Message-ID: <fcusack-1103961052360001@mudskipper.cac.psu.edu>
- References: <ga16wMlyZAQF088yn@ime.usp.br>
- NNTP-Posting-Host: mudskipper.cac.psu.edu
-
- In article <ga16wMlyZAQF088yn@ime.usp.br>, rbrito@ime.usp.br wrote:
-
- > How do I declare a function (say, foo) that receives two
- > strings and does modifications to both?
- >
- > Is there a better way than:
- >
- > void foo(char **argument1, char **argument2);
-
- void foo(char *bar, char *baz);
-
- ~Frank
- -- I am Pentium of Borg. Division is futile. You will be approximated. --
- -- PGP ID: 1C0F6685 | NCB#56 | Visit me --> http://www.tdx.org/~fcusack/ --
-